#!/usr/bin/env python
# -*- coding: UTF-8 -*-
'''
@Project ：图灵学习 
@File    ：15.拆包.py
@IDE     ：PyCharm 
@Author  ：ChenLiGao
@Date    ：2024-09-27 10:54
'''
nums = [1, 2, 3, 4]

num1, num2, num3, num4 = nums

print(num1, num2, num3, num4)

print("*" * 30)
nums = (1, 2, 3, 4)

num1, num2, num3, num4 = nums

print(num1, num2, num3, num4)

print("*" * 30)
nums = {1, 2, 3, 4}

num1, num2, num3, num4 = nums

print(num1, num2, num3, num4)

print("*" * 30)
nums = {"name":"陈", "gender": "女", "age":12, "dsd":13}


for key, value in nums.items():
    print(key, value)